package com.cdtye.shuoh.mapper.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdtye.shuoh.domain.product.entity.ProductTemplate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ProductTemplateMapper extends BaseMapper<ProductTemplate> {
    void insertProductTemplate(ProductTemplate productTemplate);

    void updateProductTemplate(ProductTemplate productTemplate);

    String getTdengineJsonByProductIdAndServiceId(@Param("productId") String productId,@Param("serviceId")String serviceId);

    int deleteByProductIdentification(@Param("productIdentification")String productIdentification);

}
